Template talk:Wiktionary-inline
Inline Templates | ||||
|
![]() | This template was considered for deletion on 2008 March 8. The result of the discussion was "to keep". |
![]() | This template (Inline Sister Projects links) was considered for deletion on 2008 October 8. The result of the discussion was "keep". |
Inline?
[edit]If this template is meant to be used inline, why does it emit a newline and a bullet? To correct this behaviour, I suggest to change the template code similar to {{Commons category-inline}} where a parameter |bullet=none
will avoid this problem. The result might look like this:
{{#ifeq: {{{bullet|}}} | none | | * }}[[Image:Wiktionary-logo-en.svg|16px| ]] The [[Wiktionary]] definition of [[wiktionary:{{{1|Special:Search/{{lc:{{PAGENAME}}}}}}}|{{{2|{{{1|{{lc:{{PAGENAME}}}}}}}}}}]]]
-- Michael Bednarek (talk) 09:15, 23 April 2011 (UTC)
problems with the "reimplementation"
[edit]The documentation for Template:Wiktionary says
- "This template should not be used when this link is the only external link in the ==External links== section." and
- Template:Wiktionary-inline (edit | talk | history | links | watch | logs) — particularly recommended when no normal/non-interwiki external links are present
I have converted a lot of templates such as {{Wiktionary|B|b}} on articles about letters of alphabets where there is no External links section to
{{Wiktionary-inline|B}}
{{Wiktionary-inline|b}}
The latest "reimplementation" has at least the following problems:
- They are no longer bullet points: all existing calls that were bullet points must be now be edited to make them bullet points again, or to restructure the use.
- The parameter is being ignored: The above calls both link to lower case b, and calls from pages such as Pe (Cyrillic) don't work at all, as I found when I tried it there.
For now I am reverting this back to the old version. —Coroboy (talk) 07:48, 5 October 2011 (UTC)
- Having the template default to adding a bullet makes it inconsistent with the majority of external links templates. The fallout from switching the default is minimal; for the time being all it does is slightly misalign existing uses, and there are few enough existing transclusions (which in my experience often use a bullet anyway) that readers are not significantly inconvenienced for the time being. The issue with calling parameters certainly looks like a bug: I'll look into it. Thanks. Chris Cunningham (user:thumperward) - talk 10:02, 5 October 2011 (UTC)
- This should now be fixed in the template sandbox. Can you have a look? Cheers. Chris Cunningham (user:thumperward) - talk 10:21, 5 October 2011 (UTC)
- The sandbox template works correctly. I will update the pages I have edited to add the bullets. Thanks for your help. —Coroboy (talk) 00:24, 6 October 2011 (UTC)
Italics
[edit]Shouldn't this template italicize the term being linked to per WP:WORDSASWORDS? Thus: "The Wiktionary entry for wiktionary-inline" rather than "The Wiktionary entry for wiktionary-inline". Hyacinth (talk) 00:27, 25 July 2012 (UTC)
- @Hyacinth: Just to note that the template now does this. Since when, I'm not sure, since I haven't taken the time to check. —DocWatson42 (talk) 10:28, 12 November 2020 (UTC)
Edit/feature request
[edit]As it stands this template's output starts with "The dictionary definition of [entry]", which is occasionally inappropriate. E.g., for "Appendix: Brexit glossary" ("The dictionary definition of Appendix: Brexit glossary" is...grammatically incorrect). Would someone please be so kind as to add the option to change the prefixed phrase in these cases? I'm open to suggestions as to what that prefix should be. —DocWatson42 (talk) 10:26, 12 November 2020 (UTC)
- I was going to create a new section for the very same reason. I support the proposal. e • 🗣 • 🏲 13:54, 13 July 2021 (UTC)